package com.homegoods.orderinfodetail.item;

import android.text.SpannableStringBuilder;

import com.homegoods.classify.model.Constant;
import com.homegoods.orderinfodetail.R;
import com.homegoods.orderinfodetail.model.ComdiyBean;
import com.homegoods.resource.util.Utils;
import com.kedll.library.mvp.BaseItem;

public class PostOrderInfoItem extends BaseItem<ComdiyBean> {
    public PostOrderInfoItem(ComdiyBean data) {
        super(data);
    }

    public String getComdiyimg() {
        return Constant.SERVER_URL + getData().getComdiyimg();
    }

    public String getPrice() {
        return getData().getPrice();
    }

    public String getComdiyName() {
        return getData().getComdiyname();
    }

    public String getComdiytxt() {
        return getData().getComdiytxt();
    }

    @Override
    public int getLayout() {
        return R.layout.info_item_order_goods;
    }

}
